#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>

void swap(int* p)
{
	while (*p != '\0')
	{
    	printf("%d", *p);
		p = p + 1;
	}

}


int main()
{
	int arr[10] = { 1,2,3,4,5,6,7,8,9 };
	swap(arr);
}























